package com.cy.uv.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "gateway", url ="localhost:8088")
public interface JwtService {

    @PostMapping("/jwt/createToken")
    String createToken(@RequestBody Map<String, Object> payload);

}
